package com.example.iotdb;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description :
 * @Author : Bruce Lee
 * @CreateTime : 2023/12/6
 */


@org.springframework.stereotype.Controller
@RequestMapping("/index")
public class Controller {
    @Autowired
    private IotTest iotTest;

    @GetMapping("/test")
    public void func(){
        iotTest.func();
    }
}
